<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height" />
    <title>Title</title>
    <link rel="stylesheet" href="../../../dest/css/fui.css">
</head>
<body>

<div class="demo"></div>
<script src="../js/jquery.min.js"></script>
<script src="../js/JsSelect.js"></script>
<script>
//    JsSelect('.demo').render({
//        title:'选择示例',
//        select:[
//            [11,21,32,42,53],
//            ['a2','a3','a5'],
//            ['21','1222','32','85']
//        ]
//    });
    JsSelect('.demo').render({
        title:'对象数据',
        //keyMap:{id:'value',value:'id'},
        select:[
            [{id:1,value:'mm'},{id:2,value:'nn'},{id:3,value:'qa'},{id:4,value:'xx'}],
            [{id:1,value:'223'},{id:2,value:'43'},{id:3,value:'58'},{id:4,value:'33'}]
        ]
    })
//    JsSelect('.demo').render({
//        title:'多级数据',
//        select:[
//            {id:1,value:'湖北',sub:[{id:11,value:'武汉'},{id:12,value:'孝感'},{id:13,value:'汉川'},{id:14,value:'长沙'}]},
//            {id:2,value:'湖南',sub:[{id:22,value:'天津'},{id:12,value:'南京'},{id:13,value:'上海'},{id:14,value:'凤凰'}]}
//        ]
//    })
</script>
</body>
</html>
